public class IAMhaggler2010_Offering extends OfferingStrategy
| Modifier and Type | Field and Description |
|---|---|
protected double |
acceptMultiplier |
protected java.util.ArrayList<Pair<java.lang.Double,java.lang.Double>> |
bestOpponentBidUtilityHistory |
protected BidSpace |
bidSpace |
protected ConcessionFunction |
cf |
protected static double |
MAXIMUM_ASPIRATION |
protected BidDetails |
myLastBid |
protected boolean |
opponentIsHardHead |
protected Bid |
opponentPreviousBid |
protected double |
utility0 |
protected double |
utility1 |
endNegotiation, helper, negotiationSession, nextBid, omStrategy, opponentModel| Constructor and Description |
|---|
IAMhaggler2010_Offering() |
| Modifier and Type | Method and Description |
|---|---|
BidDetails |
determineNextBid()
Determines the next bid the agent will offer to the opponent
|
BidDetails |
determineOpeningBid()
Determines the first bid to be offered by the agent
|
protected void |
finalize() |
protected double |
getTargetUtility(double myUtility,
double oppntUtility) |
void |
init(NegotiationSession negoSession,
OpponentModel model,
OMStrategy oms,
java.util.HashMap<java.lang.String,java.lang.Double> parameters)
Initializes the offering strategy.
|
protected Bid |
proposeInitialBid() |
protected Bid |
proposeNextBid(Bid opponentBid) |
getHelper, getNextBid, isEndNegotiation, setNextBidprotected ConcessionFunction cf
protected java.util.ArrayList<Pair<java.lang.Double,java.lang.Double>> bestOpponentBidUtilityHistory
protected double utility0
protected final double utility1
protected static double MAXIMUM_ASPIRATION
protected BidSpace bidSpace
protected BidDetails myLastBid
protected Bid opponentPreviousBid
protected final double acceptMultiplier
protected boolean opponentIsHardHead
public void init(NegotiationSession negoSession, OpponentModel model, OMStrategy oms, java.util.HashMap<java.lang.String,java.lang.Double> parameters) throws java.lang.Exception
OfferingStrategyinit in class OfferingStrategynegoSession - state of the negotiation.model - opponent model which may be used.oms - opponent model strategy which may be used.parameters - optional parameters for the offering strategy.java.lang.Exception - if the offering strategy fails to initialize.protected double getTargetUtility(double myUtility,
double oppntUtility)
protected Bid proposeInitialBid()
protected void finalize()
throws java.lang.Throwable
finalize in class java.lang.Objectjava.lang.Throwablepublic BidDetails determineNextBid()
OfferingStrategydetermineNextBid in class OfferingStrategypublic BidDetails determineOpeningBid()
OfferingStrategydetermineOpeningBid in class OfferingStrategy